<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                        rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/reci">首页</a>
                </li>
                <li class="active">计费查询</li>
            </ul>
        </div>
    </div>
</div>
<div class="pull-convert-alert"></div>

<style type="text/css">
</style>

<div style="padding: 0 10px 10px;">
    <div class="row">
        <div class='col-md-2'>
            开始时间：
            <div class="form-group">

                <div class='input-group date' id='startTime'>
                    <input type='text' class="form-control" ng-model="vm.p.startTime" name="startTime"/>
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>
            </div>
        </div>
        <div class='col-md-2'>
            结束时间：
            <div class="form-group">

                <div class='input-group date' id='endTime'>
                    <input type='text' class="form-control" ng-model="vm.p.endTime" name="endTime"/>
                    <span class="input-group-addon">
                        <span class="glyphicon glyphicon-calendar"></span>
                    </span>
                </div>

            </div>
        </div>

        <div class='col-md-2'>
            <div style="height: 12px;"></div>
            <button id="refreshTable" type="button" class="btn btn-primary" ng-click="queryList()">
                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询
            </button>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div style="margin: 10px">
        <div class="row">
            <div class="col-sm-12 col-md-12">
                <label>金额单位：毫即万分之一元</label>
                <h4 class="sub-header" style="font-size: 1.6rem;"> 计费查询明细列表 </h4>
                <!--<div id="toolbar"> </div>-->
                <table id="list_table" class="table table-condensed " data-search="false" data-show-columns="true"
                    data-pagination="true" data-side-pagination="client" data-cache="false"
                    data-loading-template="loadingTemplate">
                    <thead>
                        <tr>
                            <th data-field="SerialNumber" data-sortable="true" data-formatter="serialFormatter">序号
                            </th>
                            <th data-field="adLegoTid" data-sortable="true">商业乐高tid</th>
                            <th data-field="bidPrice" data-sortable="true">原始扣费值（毫）</th>
                            <th data-field="ts" data-sortable="true">点击时间</th>
                            <th data-field="sid" data-sortable="true">检索id</th>
                            <th data-field="bid" data-sortable="true">客户原始出价。（毫）</th>
                            <th data-field="productId" data-sortable="true">产品id</th>
                            <th data-field="price" data-sortable="true">实际扣费金额（毫）</th>
                            <th data-field="statusCode" data-sortable="true">计费结果状态值</th>
                            <th data-field="sumConsume" data-sortable="true">累计扣费值（毫）</th>
                            <th data-field="pmcBalance" data-sortable="true">用户(账户)余额（毫）</th>
                            <th data-field="couponBalance" data-sortable="true">优惠券余额（毫）</th>
                            <th data-field="couponPrice" data-sortable="true">优惠券本次扣除金额（毫）</th>
                            <th data-field="couponRs" data-sortable="true">优惠券返回状态</th>
                            <th data-field="cash" data-sortable="true">扣费时的现金（毫）</th>
                            <th data-field="wubaCash" data-sortable="true">扣除的58现金的金额（毫）</th>
                            <th data-field="pbgCash" data-sortable="true">通用推广币现金扣除金额（毫）</th>
                            <th data-field="pbgGift" data-sortable="true">通用推广币优惠的扣除金额（毫）</th>
                            <th data-field="bgCash" data-sortable="true">业务线推广币现金扣除金额（毫）</th>
                            <th data-field="bgGift" data-sortable="true">业务线推广币优惠扣除金额（毫）</th>
                            <th data-field="chargeMethod" data-sortable="true">计费模式</th>
                            <th data-field="billingDiscount" data-sortable="true">计费折扣</th>
                            <th data-field="eTime" data-sortable="true">e_time</th>
                        </tr>
                    </thead>
                </table>

            </div>
        </div>
    </div>
</div>
